package com.lm.temporal.activities;

import org.springframework.stereotype.Service;

@Service
public class OrderActivitiesImpl implements OrderActivities {
    public void validate(String orderId) {
        System.out.println("✅ 订单验证成功: " + orderId);
    }

    public void reduceStock(String orderId) {
        System.out.println("📦 库存已扣减: " + orderId);
    }

    public void pay(String orderId) {
        System.out.println("💰 支付成功: " + orderId);
    }

    public void dispatch(String orderId) {
        System.out.println("🚚 派单完成: " + orderId);
    }
}
